package cn.schoolwow.ams.domain.block.common.operation;

import cn.schoolwow.ams.domain.block.common.BlockOperation;
import cn.schoolwow.ams.domain.block.common.BlockOperationType;
import cn.schoolwow.ams.domain.block.router.RouterBlock;

import java.util.HashMap;
import java.util.Map;

public class OpenDialogBlockOperation extends BlockOperation {
    /**
     * 跳转弹窗
     * */
    public RouterBlock routerBlock;

    /**
     * 跳转条件字段
     * */
    public Map<String,String> routerFieldNameMap = new HashMap<>();

    public OpenDialogBlockOperation(String label, RouterBlock routerBlock) {
        this.blockOperationType = BlockOperationType.OpenDialog;
        this.label = label;
        this.routerBlock = routerBlock;
    }
}
